package com.olah.user.dao;

import com.olah.common.entity.po.user.UserSearchRoots;
import com.olah.common.entity.po.user.UserHiddenRoots;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RootsDao {

    UserHiddenRoots queryHidden(@Param("targetId") int targetId);

    int updateHidden(@Param("info") UserHiddenRoots roots);

    UserSearchRoots querySearch(@Param("targetId") int targetId);

    int updateSearch(@Param("info") UserSearchRoots roots);

}
